Jak utworzyć własne strony błędów?
Stosujemy Nginx jako serwer www. Jego konfiguracja dotycząca stron błędów to:
error_page 403 /custom_403.html;
error_page 404 /custom_404.html;
error_page 500 502 503 504 /custom_50x.html;
Należy zatem utworzyć pliki
custom_403.html
custom_404.html
custom_50x.html
w głównym katalogu.